// -------------------------------------------------------------------------




//
// -------------------------------------------------------------------------

#ifndef NFI_PROXYNET_TO_GAME_H
#define NFI_PROXYNET_TO_GAME_H

#include <iostream>
#include "NFIModule.h"
#include "NFINetClientModule.h"

class NFIProxyServerToGameModule
    : public  NFIModule
{
public:
    virtual void SendMsgToGame(const std::string& strHashKey, const int nMsgID, const std::string& strData) = 0;
    virtual void SendMsgPBToGame(const std::string& strHashKey, const int nMsgID, const google::protobuf::Message& xData) = 0;
    virtual void SendMsgToGameByServerID(const int nServerId, const int nMsgID, const  std::string& strData) = 0;
    virtual NFMapEx<int, ConnectData>& GetServerList() = 0;
    virtual NF_SHARE_PTR<ConnectData> GetServerNetInfo(const int nServerID) = 0;
};

#endif